
package analisadorsintatico;

/**
 *
 * @author Anderson
 */
public enum PalavrasReservadas {

    PROGRAM("program"),
    VAR("var"),
    INTEGER("integer"),
    REAL("real"),
    BOOLEAN("boolean"),
    PROCEDURE("Procedure"),
    BEGIN("begin"),
    END("end"),
    IF("if"),
    THEN("then"),
    ELSE("else"),
    WHILE("while"),
    DO("do"),
    NOT("not"),
    TRUE("true"),
    FALSE("false"),
    OR("or"),
    AND("and");

    private final String palavra;
    
    private PalavrasReservadas(String palavra) {
        this.palavra = palavra;
    }

    public String getPalavra(){
        return palavra;
    }
//    @Override
//    public String toString() {
//        return palavra;
//    }

}
